package com.gzhryc.net_marketing.api.protocol.account;

import com.gzhryc.common.api.SecurityRequest;

import java.io.Serializable;

/**
 * 云支付请求
 * @version 2022-07-10
 */
public class CloudPayAccountPayRequest extends SecurityRequest<CloudPayAccountPayRequest.Body> {

    private static final long serialVersionUID = 1L;

    public CloudPayAccountPayRequest() {
        super();
        this.body = new Body();
    }

    public static class Body implements Serializable {

        private static final long serialVersionUID = 1L;

        private String businessType;        //业务类型
        private String businessTradeNo;     //业务订单

        private Long accountId;             //账号ID
        private String accountToken;        //支付Token

        private String title;               //订单标题
        private Integer payMoney;           //支付金额

        private Long supplyId;          //供货商ID

        private String extContent;          //扩展内容，使用JSON串

        public String getBusinessType() {
            return businessType;
        }

        public void setBusinessType(String businessType) {
            this.businessType = businessType;
        }

        public String getBusinessTradeNo() {
            return businessTradeNo;
        }

        public void setBusinessTradeNo(String businessTradeNo) {
            this.businessTradeNo = businessTradeNo;
        }

        public Integer getPayMoney() {
            return payMoney;
        }

        public void setPayMoney(Integer payMoney) {
            this.payMoney = payMoney;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public Long getSupplyId() {
            return supplyId;
        }

        public void setSupplyId(Long supplyId) {
            this.supplyId = supplyId;
        }

        public Long getAccountId() {
            return accountId;
        }

        public void setAccountId(Long accountId) {
            this.accountId = accountId;
        }

        public String getAccountToken() {
            return accountToken;
        }

        public void setAccountToken(String accountToken) {
            this.accountToken = accountToken;
        }

        public String getExtContent() {
            return extContent;
        }

        public void setExtContent(String extContent) {
            this.extContent = extContent;
        }
    }
}
